package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * Description:
 * Author: ZLZ
 * Date: 2025/4/16
 */
@Data
public class SysAiChat implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long chatId;

    /**
     * 用户问题
     */
    private String request;

    /**
     * AI回答
     */
    private String response;

    /**
     * 提问用户
     */
    private Long userId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
